gdk-wayland: Do not leak dummy 1x1 surface on every draw
authorDaniel Elstner <daniel.kitta@gmail.com>
Tue, 26 Sep 2017 19:13:40 +0000 (21:13 +0200)
committerDaniel Elstner <daniel.kitta@gmail.com>
Tue, 26 Sep 2017 19:14:21 +0000 (21:14 +0200)
commit08e37532b9b46d566246e1275e2eeb492ba2c5d7
treec44e3b70d9bab5355799604b64341a79ad3cf452
parentae2c645a2a2557faf6e9d34f8b8fb70237b88c77
gdk-wayland: Do not leak dummy 1x1 surface on every draw

When using EGL, neither leak nor re-create the dummy 1x1 Cairo
surface every time gdk_wayland_window_ensure_cairo_surface()
is called.

https://bugzilla.gnome.org/show_bug.cgi?id=775126
gdk/wayland/gdkwindow-wayland.c